<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>

    </style>
</head>
<body>
    <div class="asdd" id="asd">asd</div>
<!--     <form action="">

        <input type="text" id="ip1">+<input type="text" id="ip2">
         <button onclick="javascript:ip3.value = (+ip1.value) + (+ip2.value)">=</button> -->
        <!-- <button onclick="javascript:ip3.value = Number(ip1.value) + Number(ip2.value)">=</button> -->
        <!-- <button id="but">=</button> -->
        <!-- <input type="text" name="" id="ip3">
        <input type="submit" name="" id="ip4">
        <button>123</button>
        <input type="button" value="123"> -->
        <!-- <input type="text" id="txt">
        <button id="but">点击</button>
        <input type="text" id="txt1">
 
    </form> -->
    <!-- <button id="but">变色</button>
    <div style="width: 200px; height: 200px;border: 2px solid red;" id="sd"></div> -->
 </body>
</html>
<script src="./js/笔记.js"></script>
<script src="./js/练习.js"></script>
<script src="./js/01_排序.js"></script>
<script src="./js/lodash.js"></script>
<script>
/*     but.onclick = function(){
        ip3.value = (+ip1.value) + (+ip2.value)
    }
 */    /* ip4.onclick = function(){
        ip3.value = (+ip1.value) + (+ip2.value)
    } */
    // but.onclick = function(){
    //     var num1;
    //     var num2 = 1
    //     for(var i = 0;i < txt.value;i++){
    //         num1 = txt.value - i
    //         num2 *= num1
    //     }
    //     txt1.value = num2
    // }
    // var asddd = function(){
    //     for(var i = 0;i < 50; i++){
    //         fn()
    //     }
    // }
    // function fn(){
    //     var elent = document.getElementById('sd')
    //     var r = _.random(0,255)
    //     var g = _.random(0,255)
    //     var b = _.random(0,255)
    //     elent.style.background =  `rgb(${r},${g},${b})`
    //         // document.sd.style.background = `rgb(${r},${g},${b})`
    //         // sd.background = 
    // }
    // var saa = setInterval(asddd,100)

    // but.onclick = function(){
    //     clearInterval(saa)
    // }
    // var numm = confirm('服不服')
    // console.log('123');
//     var f = function(item,index,array){
//     console.log('it+em',item,array)
// }
//         var arr = [18,22,27]
//         arr.forEach(f)
// var all = document.querySelector('#asd')

// all.innerText = '<span style="color: red;">新标签</span>'
// var num = document.querySelector('.asdd')
// num.className = 'as'
</script>